## API Report File for "@backstage/plugin-cost-insights-common"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts
// @public (undocumented)
export interface ChangeStatistic {
  amount: number;
  ratio?: number;
}

// @public (undocumented)
export interface Cost {
  // (undocumented)
  aggregation: DateAggregation[];
  // (undocumented)
  change?: ChangeStatistic;
  // (undocumented)
  groupedCosts?: Record<string, Cost[]>;
  // (undocumented)
  id: string;
  // (undocumented)
  trendline?: Trendline;
}

// @public (undocumented)
export type DateAggregation = {
  date: string;
  amount: number;
};

// @public
export interface Entity {
  // (undocumented)
  aggregation: [number, number];
  // (undocumented)
  change: ChangeStatistic;
  // (undocumented)
  entities: Record<string, Entity[]>;
  // (undocumented)
  id: Maybe<string>;
}

// @public (undocumented)
export type Group = {
  id: string;
  name?: string;
};

// @public (undocumented)
export type Maybe<T> = T | null;

// @public (undocumented)
export type Metric = {
  kind: string;
  name: string;
  default: boolean;
};

// @public (undocumented)
export interface MetricData {
  // (undocumented)
  aggregation: DateAggregation[];
  // (undocumented)
  change: ChangeStatistic;
  // (undocumented)
  format: 'number' | 'currency';
  // (undocumented)
  id: string;
}

// @public (undocumented)
export interface Product {
  // (undocumented)
  kind: string;
  // (undocumented)
  name: string;
}

// @public (undocumented)
export interface Project {
  // (undocumented)
  id: string;
  // (undocumented)
  name?: string;
}

// @public (undocumented)
export type Trendline = {
  slope: number;
  intercept: number;
};
```
